package com.lxm.common.contants;

import lombok.Data;

@Data
public abstract class LikesConstants {

    public static final String LIKE_EXIST = "用户已点赞";
    public static final String LIKE_SUCCESS = "点赞成功";
    public static final String LIKE_FAIL = "点赞失败";
    public static final String CANCEL_LIKE_SUCCESS = "取消订单成功";
    public static final String CANCEL_LIKE_FAIL = "取消点赞失败";

    public static final String LIKE_NOT_EXIST = "用户未点赞，无需取消点赞";

    //redis常量
    public static final String LIKE_BLOG_KEY = "like:blog:";
    public static final String LIKE_COMMENT_KEY = "like:comment:";
    public static final String LIKE_ITEM_KEY = "like:item:";
    //点赞类型
    public static final Integer BLOG_LIKE = 1;
    public static final Integer COMMENT_LIKE = 2;
    public static final Integer ITEM_LIKE = 3;


}
